package com.woniu.product.common;


import com.woniu.result.ResultCode;

public enum CouponResultCode implements ResultCode {
    COUPON_NOT_FOUND(4001, "没有找到符合条件的优惠券信息"),
    COUPONRECEIVE_NOT_FOUND(4002, "没有找到符合条件的领取的优惠券"),
    COUPONLOGS_NOT_FOUND(4003, "没有找到符合条件的优惠券记录"),
    COUPON_INSUFFICE(4004, "优惠券已不足"),
    COUPONLOGS_HAVE_BEEN_RECORDED(4005,"优惠券已被记录")
    ;

    private int code;
    private String message;

    private CouponResultCode(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return this.code;
    }

    public String getMessage() {
        return this.message;
    }
}
